<?php

class System_Validate_MaxLength
{

    public function isValid ($str, $length)
    {
        return strlen($str) <= intval($length);
    }
}
